/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package negocio;

import java.util.List;

/**
 *
 * @author Vivi
 */
public class GuardarBaseDatos implements IGuardar {
     
      @Override
    public void grabar(Solicitante solicitante) {
        
        if (ConnectionManager.hayConexion())
            new Problema().grabar(solicitante);
        else
        {
            new GuardarBaseDatos().grabar(solicitante);
        }
        
    }
    
        
}
